#! /usr/bin/python

import sys

os = sys.argv[1]
gypi_file = "../../../Tools/manx/common_%s.gypi" % os
dict = eval(open(gypi_file).read())
features = filter((lambda s: s.find("=1") != -1), dict["variables"]["feature_defines"])
print " ".join(features)
